#define GFX_W 800
#define GFX_H 600
#define NB_IMAGES 4

typedef struct
{
float x,y;
BITMAP * tab_d[1];
int n;
}kartouche;

typedef struct
{
float x;
float y;
int w;
int h;
}Sprite;


typedef struct
{
BITMAP * pm[8];
} power;


typedef struct
{
float x,y;
BITMAP * tab_d[1];
BITMAP * tab_g[1];
int n;
}Monster;


typedef struct
{
float x,y;
int direction;
BITMAP * tab_d[3];
BITMAP * tab_g[3];
//BITMAP *gameover;
//int power;
}codo;


typedef struct
{
int x,y;
BITMAP *money;
int n;
}Money;


typedef struct
{
int x,y;
BITMAP *ball;
BITMAP * tab_d[1];
int n;
}Ball;

typedef struct
{
int x,y;
BITMAP *etoile;
int n;
}Etoile;


void chargement (codo *c,Money *m,Etoile *e,Monster *o,Monster *o1,Monster *o2,kartouche *k,power *w,Ball *b);


